package ru.myrtle.umf.query;

import java.util.Collection;

import ru.myrtle.umf.UObject;

public interface UObjectSet {

    public Collection<UObject> getObjects();

    /*
     *
     */

    public static class Contents implements UObjectSet {

        private final UObject object;

        public Contents(UObject object) {
            this.object = object;
        }

        @Override
        public Collection<UObject> getObjects() {
            return object.uContents();
        }
    }
}
